import { EntityService } from "@ibiz-core";

/**
 * 图书服务对象基类
 * @export
 * @class BookService
 */
export class BookService extends EntityService {

    /**
     * Get接口方法
     *
     * @param {*} [context={}]
     * @param {*} [data={}]
     * @param {boolean} [isloading]
     */
    public async Get(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
        console.log('BookService：Get行为调用')
        return {
          status: 200,
          ok: true,
          headers: {},
          data: {
            bookid: '02F3C20D-6725-4505-A08B-53626D2C475B',
            bookname: '格列弗游记',
            createdate: '2021-08-25T09:34:54.000+0000',
            createman: 'USER01',
            updatedate: '2021-08-31T10:02:12.000+0000',
            updateman: 'USER01',
          },
        };;
    }

}